<template>
    <div>
        <h1>
            你的余额不足!充点钱再来吧
            <button @click='go'>返回</button>
        </h1>
    </div>
</template>

<script>
export default {
    methods:{
        go(){
            this.$router.push({name:'shoppingcart'})
        }
    }
}
</script>

<style lang='scss' scoped>
$appwidth:375;


@function pxtovw($p){
    @return (100/$appwidth*$p) * 1vw;
}
div{
    width:100%;
    height: 100%;
    font-size: pxtovw(14);
    color: orange;
    text-align: center;
  button{
      color: white;
      background: pink;
      outline: none;
      border: none;
      width: 80%;
      height: pxtovw(50);
      box-shadow: 0 0 pxtovw(5) #ccc;
      margin: pxtovw(20);
     
  }


}
</style>
